package com;

import org.springframework.stereotype.Component;

@Component
public class HelloSpring {
    private String userName;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void show(){
        System.out.println(userName + ": 欢迎来到 Spring");
    }
}
